$.ajax({
    type:'get',
    url:'/posts/count',
    success:function(res){
        $('#artcount').html(' <strong>'+res.postCount+'</strong>篇文章（<strong>'+res.draftCount+'</strong>篇草稿）')
       
    }
})

$.ajax({
    type:'get',
    url:'/categories/count',
    success:function(res){
        $('#categories').html('<strong>'+res.categoryCount+'</strong>个分类')
       
    }
})

$.ajax({
    type:'get',
    url:'/comments/count',
    success:function(res){
        $('#comments').html('<strong>'+res.commentCount+'</strong>条评论')
       
    }
})